Skip to content

test: add VRender visual regression and prepare PR workflow handoff - #2154

Merged
Rui-Sun merged 5 commits into
developfrom
codex/vrender-playwright
Nov 6, 2026
Merged

Rui-Sun merged 5 commits into
developfrom
codex/vrender-playwright

Conversation

@Rui-Sun

@Rui-Sun Rui-Sun commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

VRender 目前缺少 Bot 可消费的独立视觉回归入口。本变更新增与 VChart/VTable 串行协议一致的运行器,对冻结的 head/base 分别安装和构建,使用同一套六项用例比较 SDK,导出完整 SHA、断言、PNG 及 schemaVersion=1 报告。

覆盖图元文本、变换/裁剪、真实鼠标拾取/事件、Tag、属性更新和 Stage 销毁。新增中文指南、README 入口与 CI 协议自检;不修改产品运行时代码或自动接受基准。

旧 Photo CI 增加无权限、不检出源码的移交判断。只有配置 VISACTOR_WORKFLOW_INTERNAL_SINCE 后,仓库 ID 649514587、同仓、目标 develop 且晚于起点的新 PR 才交给新工作流;新 Draft 等待 ready。变量未设置时保留原行为,存量、fork、其他目标、main push 和人工入口继续原流程。正式启用需与 Bot/BugServer 起点及存量快照协调,本 PR 不设置生产变量。

验证:

  • d51e4c3 对 develop 168c7af:Linux Node22 受限 worker 双侧安装、构建和截图 6/6 matched,执行错误 0,12 张 PNG。
  • 协议及真实负对照 4/4:可见像素变化生成 diff,显式业务断言失败得到 CASE_ASSERTION_FAILED。
  • macOS Node24 六例自比较与负对照通过;最新 0dc9b7f 的 CI 移交及运行器契约在 macOS Node24 / Linux Node22 均 5/5。
  • 首次内网镜像 Arco 包 SRI 不符被拒;官方同版本包通过原摘要。官方源空缓存完整复验正在进行,不将已有缓存验证称为全网络冷启动。

首批六项不是全产品、多浏览器或多端覆盖。真实 GitHub CI、PR 专用 Photo 批次和自动准入仍需后续验收;保留 Draft,不自动批准或合并。

@github-actions github-actions Bot added the core label Nov 6, 2026

@visactor-review-bot visactor-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

未发现可确认的新问题。

@Rui-Sun
Rui-Sun marked this pull request as ready for review November 6, 2026 08:36
@Rui-Sun
Rui-Sun merged commit abd20c6 into develop Nov 6, 2026
10 of 12 checks passed
@Rui-Sun
Rui-Sun deleted the codex/vrender-playwright branch November 6, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant